package com.itheima.domain.db.ums;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 会员与产品分类关系表（用户喜欢的分类）
 * @TableName ums_member_product_category_relation
 */
@TableName(value ="ums_member_product_category_relation")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UmsMemberProductCategoryRelation implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long memberId;

    /**
     * 
     */
    private Long productCategoryId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}